package com.yixq.vo;

import org.springframework.util.StringUtils;

public class DataResponseVo {
	private String AssetID;
	private String status;

	private String statusDesc;

	
	private String response;
	public String getAssetID() {
		return AssetID;
	}

	public void setAssetID(String assetID) {
		AssetID = assetID;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatusDesc() {
		if (StringUtils.isEmpty(status)) {
			return "状态值为空";
		}
		if (status.equals("1")) {
			return "放款成功";
		} else if (status.equals("0")) {
			return "放款失败";
		} else if (status.equals("-1")) {
			return "放款处理中  ";
		} else if (status.equals("-2")) {
			return "可重新推";
		} else {
			return "未知状态";
		}
	}

	public void setStatusDesc(String statusDesc) {
		this.statusDesc = statusDesc;
	}

	public String getResponse() {
		return response;
	}

	public void setResponse(String response) {
		this.response = response;
	}

	
}
